projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0846761
)
(lock_file): Do nothing if purifying.
author
Richard M. Stallman
<rms@gnu.org>
Wed, 14 Jul 1999 16:00:57 +0000
(16:00 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Wed, 14 Jul 1999 16:00:57 +0000
(16:00 +0000)
src/filelock.c
patch
|
blob
|
history
diff --git
a/src/filelock.c
b/src/filelock.c
index b671533161f9cacebee310ae325738308cb9e218..dcf3c658ce004fa3933b0afaf999575598cef34d 100644
(file)
--- a/
src/filelock.c
+++ b/
src/filelock.c
@@
-545,6
+545,12
@@
lock_file (fn)
register char *lfname, *locker;
lock_info_type lock_info;
+ /* Don't do locking while dumping Emacs.
+ Uncompressing wtmp files uses call-process, which does not work
+ in an uninitialized Emacs. */
+ if (! NILP (Vpurify_flag))
+ return;
+
orig_fn = fn;
fn = Fexpand_file_name (fn, Qnil);
encoded_fn = ENCODE_FILE (fn);